import requests
import json

payload_match = {
    'term': '大码',
    'from': 0,
    'size': 10,
    'highlight': True,
    'order_by': 'relative',
    'filters': {
        #'user_id': []
    },
}

r_match = requests.post('http://localhost:5001/search/v1.1/daren', json=payload_match, timeout=200)
a_match = r_match.json()
print("1. daren kol match\n")
print(json.dumps(a_match, indent=4, sort_keys=True, ensure_ascii=False))